package com.ferryc;

import org.bytesoft.bytetcc.supports.springcloud.config.SpringCloudSecondaryConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.ImportResource;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * Hello world!
 */
@SpringBootApplication
@EnableSwagger2
@EnableEurekaClient
@MapperScan("com.ferryc.mapper")
@Import(SpringCloudSecondaryConfiguration.class)
public class AccountServiceApp {
    public static void main(String[] args) {
        new SpringApplication().run(AccountServiceApp.class);
    }
}
